-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to filter when testing scripted fields (#35379) #44220
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
retest |
💔 Build Failed |
retest |
Pinging @elastic/kibana-app |
💚 Build Succeeded |
@friol could you please update this PR by rebasing against master? |
@elasticmachine merge upstream |
💚 Build Succeeded |
@spalger : Can anybody please take a look at this one? This is useful! Thanks :) |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@friol thanks for making this PR! 🎉
I'm part of the Kibana Design team and I've justed created a PR with a few design changes:
- We normally use a space of 16px in between form rows
- We use our Elastic UI variables to address paddings and margins instead of pixels
- I changed one of the class names to adhere to the BEM principle
Here's the PR: friol#5
Test script design improvement
@miukimiu done :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @friol! LGTM! 🎉
@elasticmachine merge upstream |
retest |
@friol CI is failing for this PR. You will need to mock out TestScript in https://github.com/elastic/kibana/blob/master/src/legacy/ui/public/field_editor/components/scripting_help/help_flyout.test.js#L28 by adding the following.
Then run |
@nreese : I aligned my local repository with this branch and recompiled/restarted. Now, when I access Kibana, I get this error: Version: 8.0.0 Why? |
Looks like |
@nreese: ok, done, and also, updated the tests. Thanks! |
@elasticmachine merge upstream |
retest |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
@friol Thanks for the contribution. This is a great enhancement. |
…lastic#44220) * Possibility to filter when testing scripted fields * Possibility to filter when testing scripted fields * Now the i18n test should pass * use SearchBar instead of EuiFieldText input * clean up * test script design improvement * Fixed SearchBar reference and updated the help_flyout tests Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Nathan Reese <reese.nathan@gmail.com> Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>
7.6 #53813 |
…53813) * Possibility to filter when testing scripted fields * Possibility to filter when testing scripted fields * Now the i18n test should pass * use SearchBar instead of EuiFieldText input * clean up * test script design improvement * Fixed SearchBar reference and updated the help_flyout tests Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Nathan Reese <reese.nathan@gmail.com> Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co> Co-authored-by: friol <dantonag@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>
* master: Possibility to filter when testing scripted fields (elastic#35379) (elastic#44220) Update maps telemetry mappings to account for recent updates (elastic#53803) [Maps] Only show legend when layer is visible (elastic#53781) remove use of experimental fs.promises api (elastic#53346) [APM] Add log statements for flaky test (elastic#53775)
…le-saved-objects * 'master' of github.com:elastic/kibana: (250 commits) Allow chromeless applications to render via non-/app routes (elastic#51527) Add server rendering service to enable standalone route rendering (elastic#52161) Possibility to filter when testing scripted fields (elastic#35379) (elastic#44220) Update maps telemetry mappings to account for recent updates (elastic#53803) [Maps] Only show legend when layer is visible (elastic#53781) remove use of experimental fs.promises api (elastic#53346) [APM] Add log statements for flaky test (elastic#53775) [APM] Transaction page throws unhandled exception if transactions doesn't have `http.request` (elastic#53760) Licensing plugin functional tests (elastic#53580) [Lens] Disable saving visualization until there are no changes to the document (elastic#52982) [Monitoring] Added safeguard for some EUI components (elastic#53318) [Vega] Shim new platform - cleanup vega_visualization dependencies (elastic#53605) Display changed field formats without requiring hard page refresh. (elastic#53746) Upgrade EUI to v17.3.1 (elastic#53655) [APM] Fix missing apm indicies (elastic#53541) Disable inspector for timelion (elastic#53747) Clean up search servie (elastic#53701) [Dashboard] Grid: removing double handler (elastic#53707) Remove SavedObjectRegistryProvider from codebase (elastic#53455) Move ui/courier into data shim plugin (elastic#52359) ...
…lastic#44220) * Possibility to filter when testing scripted fields * Possibility to filter when testing scripted fields * Now the i18n test should pass * use SearchBar instead of EuiFieldText input * clean up * test script design improvement * Fixed SearchBar reference and updated the help_flyout tests Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Nathan Reese <reese.nathan@gmail.com> Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>
Summary
As asked in issue #35379 , I've added the possibility to perform a filter query when testing your scripted field, since not always the first 10 records are significant.